
<div class="row">
	<div class="col-sm-12">
		<table id="grid"></table>
	</div>
</div>

<div id="win" style="display: none;">
	<div class="m-a-lg">
		<form id="form" method="post" class="form-horizontal" enctype="multipart/form-data">
			<input name="scp_id" type="hidden" autocomplete="off" />
			<div class="form-group">
				<label class="control-label col-sm-4">Category</label>
				<div class="col-sm-8">
					<select id="category" name="cp_id" class="form-control" data-options="required:true" autocomplete="off">
						<?php if(count($categories) > 0): foreach($categories as $c): ?>
						<option value="<?= $c->cp_id ?>"><?= $c->cp_name ?></option>
						<?php endforeach; endif; ?>
						<option></option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-sm-4">Name</label>
				<div class="col-sm-8">
					<input name="scp_name" type="text" class="form-control" autocomplete="off" />
				</div>
			</div>
			<!-- <div class="line pull-in"></div> -->
			<div class="form-group">
				<label class="control-label col-sm-4">Desc.</label>
				<div class="col-sm-8">
					<input name="scp_desc" type="text" class="form-control" autocomplete="off" />
				</div>
			</div>
			<!-- <div class="line pull-in"></div> -->
			<div class="form-group">
				<label class="control-label col-sm-4">Order</label>
				<div class="col-sm-8">
					<input name="scp_order" type="text" class="form-control" autocomplete="off" />
				</div>
			</div>
			<!-- <div class="line pull-in"></div> -->
			<div class="form-group">
				<label class="control-label col-sm-4">Active ?</label>
				<div class="col-sm-8">
					<select name="scp_active" class="form-control">
						<option value="1">Yes</option>
						<option value="0">No</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="control-label">Cover / Image</label>
				<input name="userfile" type="file" class="" autocomplete="off" />
			</div>
		</form>
	</div>
</div>